/*
 * Copyright (c) 2018-2999 湖南洛云网络科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.delivery.comment.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.delivery.comment.model.DeliveryOrder;
import com.yami.shop.delivery.comment.param.DeliveryOrderItemParam;

import java.util.List;

/**
 *
 *
 * @author lhd
 * @date 2020-04-22 15:46:05
 */
public interface DeliveryOrderService extends IService<DeliveryOrder> {

    /**
     * 保存物流信息
     *
     * @param deliveryOrderParam 保存物流信息参数
     */
    void saveDeliveriesInfo(DeliveryOrderItemParam deliveryOrderParam);

    /**
     * 更新物流信息
     *
     * @param deliveryOrders 更新物流信息参数
     */
    void updateOrderDeliveries(List<DeliveryOrder> deliveryOrders);

    /**
     * 获取物流信息
     *
     * @param orderNumber 订单号
     * @return 物流信息
     */
    List<DeliveryOrder> getAndDeliveryItemInfo(String orderNumber);

    /**
     * 获取物流信息
     *
     * @param orderNumber 订单号
     * @return 物流信息
     */
    List<DeliveryOrder> listDetailDelivery(String orderNumber);
}
